<%@ page pageEncoding="utf-8"  isELIgnored="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>当当图书 – 全球最大的中文网上书店</title>
		<link href="/dangdang_zjs/front/css/book.css" rel="stylesheet" type="text/css" />
		<link href="/dangdang_zjs/front/css/second.css" rel="stylesheet" type="text/css" />
		<link href="/dangdang_zjs/front/css/secBook_Show.css" rel="stylesheet" type="text/css" />
		<link href="/dangdang_zjs/front/css/list.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="${path}/front/js/prototype-1.6.0.3.js""></script>
	</head>
	<body>
		&nbsp;

		<!-- 头部开始 -->
		<%@include file="../common/head.jsp"%>
		<!-- 头部结束 -->

		<div style="width: 962px; margin: auto;">
			<a href="#"><img src="/dangdang_zjs/front/images/default/book_banner_081203.jpg" border="0" /> </a>
		</div>
		<div class='your_position'>
			您现在的位置:&nbsp;
			<a href='${path}/fcategory/queryAllSecondAction'>当当图书</a> &gt;&gt;
		
			<font style='color: #cc3300'><strong>${CFentity1.cate_name}</strong> </font>
			<c:forEach items="${CFentity1.ca}" var="s">
			<c:if test="${s.id==id1}" >&gt;&gt;<font style='color: #cc3300'><strong>${s.cate_name}</strong> </font></c:if>
			
			</c:forEach>
			&gt;&gt;
		</div>

		<div class="book">

			<!--左栏开始-->
			<div id="left" class="book_left">
				<div id="__fenleiliulan">
					<div class=second_l_border2>
						<h2>
							分类浏览
						</h2>
						<ul>
							<li>
								<div>
									<div class=second_fenlei>
									
										&middot;${CFentity1.cate_name}&nbsp;
									</div>
								</div>
							</li>
							<div class="clear"></div>
							
							<c:forEach items="${CFentity1.ca}" var="CFent">
							
							<!--2级分类开始-->
							<li>
								<div>
									<div class=second_fenlei>
										&middot;
									</div>
									<div class=second_fenlei>
										<a href="${path}/fcategory/showSirstAndTwo?id=${CFentity1.id}&id1=${CFent.id}"> ${CFent.cate_name} &nbsp;<br /></a>
									</div>
								</div>
							</li>
							
							
							
						  <div class="clear"></div>
						  </c:forEach>
							
							<!--2级分类结束-->
							
							<li>
								<div></div>
							</li>
							
							
							
						</ul>
					</div>
				</div>
			</div>

			<!--左栏结束-->

			<!--中栏开始-->
			<div class="book_center">

				<!--图书列表开始-->
				<div id="divRight" class="list_right">

					<div id="book_list" class="list_r_title">
						<div class="list_r_title_text">
							排序方式
						</div>
						<select onchange='' name='select_order' size='1'
							class='list_r_title_ml'>
							<option value="">
								按上架时间 降序
							</option>
						</select>
						<div id="divTopPageNavi" class="list_r_title_text3">

							<!--分页导航开始-->
						
					
								<!-- 红色左箭头 -->
							<div class='list_r_title_text3a'>
							<c:if test="${pageNum > 1}">
								<a name=link_page_next href="${path}/fcategory/showSirstAndTwo?id=${CFentity1.id}&pageNum=${pageNum-1}
								<c:if test="${id1!=null}">&id1=${id1}</c:if>">
									<img src='${path}/front/images/page_up.gif' /> 
								</a></c:if>
							</div>
	                 <c:if test="${pageNum ==1}">
							<div class='list_r_title_text3a'>
								<img src='${path}/front/images/page_up_gray.gif' />
							</div>
				</c:if>
							<div class='list_r_title_text3b'>
								第${pageNum}页/共${pageTotal}页
							</div>
							
						
								
							
							<div class='list_r_title_text3a'>
							<c:if test="${pageNum lt pageTotal}">
								<a name=link_page_next href="${path}/fcategory/showSirstAndTwo?id=${CFentity1.id}&pageNum=${pageNum+1}
								<c:if test="${id1!=null}">&id1=${id1}</c:if> ">
								
								
								<%--  --%>
									<img src='${path}/front/images/page_down.gif' /> 
								</a></c:if>
								</div>
							 
							
								<!-- 红色左箭头 -->
							
					<c:if test="${pageNum >= pageTotal}">
						<div class='list_r_title_text3a'>
								<img src='${path}/front/images/page_down_gray.gif' />
							</div>
							</c:if>
							

							<!--分页导航结束-->
						</div>
					</div>
					
					<!--商品条目开始-->
					
					 <%-- ${cate.book}  --%>
					 <%-- <c:if test="${listCategory==null}"><h1>还没图书呦,去别的地方逛逛吧！</h1></c:if> --%>
						<c:forEach items="${listCategory}" var="boo">
						
						<%-- <c:forEach items="${booo.book}" var="boo"> --%>
						
						<div class="list_r_line"></div>
						<div class="clear"></div>
							<div class="list_r_list">
								<span class="list_r_list_book">
									<a name="link_prd_img" href='${path}/fcategory/showOneBookAction?id=${boo.id}'>
										<img src="${path}${boo.src}" /> 
									</a>
								</span>
								<h2>
									<a name="link_prd_name" href='${path}/fcategory/showOneBookAction?id=${boo.id}'> ${boo.bookname}</a>
								</h2>
								<!-- <h3>
									顾客评分：100
								</h3> -->
								<h4 class="list_r_list_h4">
									作 者:
									<a href='#' name='作者'>${boo.writwer}</a>
								</h4>
								<h4>
									出版社：
									<a href='#' name='出版社'>${boo.writwer}</a>
								</h4>
								<h4>
									出版时间：${boo.printtime}
								</h4>
								<h5>
									${boo.introductioncontent}
								</h5>
								<div class="clear"></div>
								<h6>
									<span class="del">${boo.price}</span>
									<span class="red">${boo.ddprice}</span>
									节省：${boo.price - boo.ddprice}
								</h6>
								<span class="list_r_list_button"> 
								<a href="${path}/shoping/addShoping?id=${boo.id}"> 
									<img src='${path}/front/images/buttom_goumai.gif' /> 
								</a>
								<span id="cartinfo"></span>
							</div>
						<div class="clear"></div>
 </c:forEach> 
 <%-- </c:forEach>  --%>



						<!-- <div class="clear"></div>
							<div class="list_r_list">
								<span class="list_r_list_book">
									<a name="link_prd_img" href='#'>
										<img src="../productImages/1.jpg" /> 
									</a> 
								</span>
								<h2>
									<a name="link_prd_name" href='#'>精通JavaEE轻量级框架整合方案</a>
								</h2>
								<h3>
									顾客评分：100
								</h3>
								<h4 class="list_r_list_h4">
									作 者:
									<a href='#' name='作者'>菜鸟</a>
								</h4>
								<h4>
									出版社：
									<a href='#' name='出版社'>人民邮电出版社</a>
								</h4>
								<h4>
									出版时间：2009-01-01
								</h4>
								<h5>
									这是一本好书，描述了Struts、Hibernate和Spring等框架的整合应用！
								</h5>
								<div class="clear"></div>
								<h6>
									<span class="del">￥79</span>
									<span class="red">￥60</span>
									节省：￥19
								</h6>
								<span class="list_r_list_button"> 
								<a href="#"> 
									<img src='../images/buttom_goumai.gif' /> 
								</a>
								<span id="cartinfo"></span>
							</div>
						<div class="clear"></div>
						
						<div class="clear"></div>
							<div class="list_r_list">
								<span class="list_r_list_book">
									<a name="link_prd_img" href='#'>
										<img src="../productImages/1.jpg" /> 
									</a> 
								</span>
								<h2>
									<a name="link_prd_name" href='#'>精通JavaEE轻量级框架整合方案</a>
								</h2>
								<h3>
									顾客评分：100
								</h3>
								<h4 class="list_r_list_h4">
									作 者:
									<a href='#' name='作者'>菜鸟</a>
								</h4>
								<h4>
									出版社：
									<a href='#' name='出版社'>人民邮电出版社</a>
								</h4>
								<h4>
									出版时间：2009-01-01
								</h4>
								<h5>
									这是一本好书，描述了Struts、Hibernate和Spring等框架的整合应用！
								</h5>
								<div class="clear"></div>
								<h6>
									<span class="del">￥79</span>
									<span class="red">￥60</span>
									节省：￥19
								</h6>
								<span class="list_r_list_button"> 
								<a href="#"> 
									<img src='../images/buttom_goumai.gif' />
								</a>
								<span id="cartinfo"></span>
							</div>
						<div class="clear"></div>
					
						商品条目结束 -->

					<div class="clear"></div>
					<div id="divBottomPageNavi" class="fanye_bottom">
					</div>

				</div>
				<!--图书列表结束-->

			</div>
			<!--中栏结束-->
			<div class="clear"></div>
		</div>

		<!--页尾开始 -->
		<%@include file="../common/foot.jsp"%>
		<!--页尾结束 -->
	</body>
</html>
